package com.zwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zwz.bean.Article;

import java.util.List;

public interface ArticleService {
    boolean insert(Article article);

    boolean deleteById(Integer aid);

    boolean updateById(Article article);

    Article getById(Integer aid);

    IPage<Article> getPage(int currentPage, int pageSize, Article article);

    int countAll();

    List<Article> queryList(Article article);
}
